getShape

abstract fun getShape(block: DesignBlock): DesignBlock

Returns the block containing the shape properties of the given block.

Return

the block that currently defines the given block's shape, or an invalid block if unset. Check the result with isValid.

Parameters

block

the block whose shape block should be returned.